phpcsstandards / phpcsdevtools Goto Github PK
View Code? Open in Web Editor NEWTools for PHP_CodeSniffer sniff developers
Home Page: https://phpcsstandards.github.io/PHPCSDevTools/
License: GNU Lesser General Public License v3.0
Tools for PHP_CodeSniffer sniff developers
Home Page: https://phpcsstandards.github.io/PHPCSDevTools/
License: GNU Lesser General Public License v3.0
The phpcsdoc.xsd schema does not conform to v1.0 of the XML schema spec because of the wildcard in the rulegroup
Model Group.
Since the schema has no targetNamespace
, the element wildcard in that model group (<xs:any minOccurs="0"/>
), as written, violates the Unique Particle Attribution constraint (since the wildcard could potentially match any unqualified element, including those specifically named in the model group).
XML Schema 1.1 loosened UPA so that wildcard is OK as specified provided that a v1.1 schema processor is used.
Since there are not that many v1.1 schema processors out there (especially in PHP, and most IDEs), it would probably be a good idea to modify the schema to conform to v1.0 of the schema spec.
I have some other suggestions for improvements to the schema, but it would be a good idea to have some general discussions around the "goals" of the schema (and validation in general) before jumping into opening a PR.
Note: I came across the schema when I saw WordPress/WordPress-Coding-Standards#2084.
The current develop
branch contains quite some changes, some which are ready (overdue) for release, others which aren't ready for release yet.
STDOUT
vs STDERR
.exclude
feature not working well enough.As what is ready for release is valuable to get out there, I'm cherrypicking those commits into the stable
branch and adding the changelog and such to allow for a release.
All cherrypicked PRs have been re-milestoned to 1.2.0
.
As this means I will be pushing the cherrypicked commits and the changelog directly to stable
, I'm opening this issue to document the release steps.
VERSION
file.stable
(careful, GH defaults to develop
!) & copy & paste the changelog to itdevelop
to stable
& push it.stable
to develop
& push it.A lot of repos for external PHPCS standards will need similar build scripts for Travis.
Since last week Travis now offers the ability to import re-usable Travis script snippets.
It may be useful to offer some typical snippets needed in Travis scripts for external PHPCS standards as a new feature in this repo.
Refs:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.