Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • C css-selector
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Symfony
  • css-selector
  • Repository
Switch branch/tag
  • css-selector
  • phpunit.xml.dist
Find file BlameHistoryPermalink
  • Grégoire Paris's avatar
    Bump phpunit XSD version to 5.2 · 7b1692e4
    Grégoire Paris authored Nov 11, 2018
    Some attributes being used in the phpunit configuration files, namely
    failOnRisky and failOnWarning were introduced in phpunit 5.2.0. The
    Composer configuration shows that tests should run with old versions of
    phpunit, but phpunit only validates the configuration against the XSD
    since phpunit 7.2.0.
    These changes can be tested as follows:
    
    wget http://schema.phpunit.de/5.2/phpunit.xsd
    xargs xmllint --schema phpunit.xsd  1>/dev/null
    find src -name phpunit.xml.dist| xargs xmllint --schema phpunit.xsd  1>/dev/null
    
    See https://github.com/sebastianbergmann/phpunit/commit/7e06a82806be004cbfd30a02d92162e9ed4abc7c
    See https://github.com/symfony/symfony/blob/46e3745a03e199e64cc0fcf3284a96b5a25dcee9/composer.json#L98
    7b1692e4