Code Monkey home page Code Monkey logo

phpcsdevtools's People

Contributors

dependabot[bot] avatar dingo-d avatar garyjones avatar jrfnl avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

phpcsdevtools's Issues

XML schema conforms to v1.1 of the schema spec but not to v1.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.

Release version 1.2.0

The current develop branch contains quite some changes, some which are ready (overdue) for release, others which aren't ready for release yet.

Ready for release

  • PHPCS Docs XSD and everything related to that, see #80.
  • Debug sniff whitespace visualization changes.
  • Some minor tweaks/bugfixes for the FeatureComplete tool.

Not ready for release

  • Refactor of the FeatureComplete tool.
    There are still some issues with:
    • The use of STDOUT vs STDERR.
    • The 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.

Release checklist:

  • Update the version number in the VERSION file.
  • Add changelog for 1.2.0.
  • Merge this PR
  • Add release tag against stable (careful, GH defaults to develop!) & copy & paste the changelog to it
  • Close the milestone
  • Open a new milestone for the next release
  • If any open PRs/issues which were milestoned for this release did not make it into the release, update their milestone. (not applicable)
  • Tweet about the release.
  • Fast-forward develop to stable & push it. Back-merge stable to develop & push it.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.