forked from MyIntervals/PHP-CSS-Parser
-
Notifications
You must be signed in to change notification settings - Fork 4
Catch up with upstream changes #5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](actions/checkout@v3...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
…actions/actions/checkout-4 Bump actions/checkout from 3 to 4
Bumps [actions/cache](https://github.com/actions/cache) from 3 to 4. - [Release notes](https://github.com/actions/cache/releases) - [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md) - [Commits](actions/cache@v3...v4) --- updated-dependencies: - dependency-name: actions/cache dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
…actions/actions/cache-4 Bump actions/cache from 3 to 4
I have compiled the changes that seemed relevant from the git history.
[TASK] Prepare the 8.5.0 release
This is a blocker for the upgrade to PHPUnit 8.
…Intervals#424) Updates the requirements on [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) to permit the latest version. - [Changelog](https://github.com/sebastianbergmann/phpunit/blob/8.5.36/ChangeLog-8.5.md) - [Commits](sebastianbergmann/phpunit@5.7.27...8.5.36) --- updated-dependencies: - dependency-name: phpunit/phpunit dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
The corresponding file gets created by more recent versions of PHPUnit.
This helps communicate that the testcases are not intended to be subclassed. Fixes MyIntervals#431
- make things more strict - stop caching the result (as we don't need this at the moment) - make things more colorful
This allows us to have PHPStan extensions, e.g., for PHPUnit.
Autoformat the code with the default PhpStorm settings (and re-run `composer fix:php` to minimize formatting-related changes when code is changed and autoformatted.
- prefer packages over Git - sort the dependencies Also actually sort the dependencies.
Newer versions of PHPUnit require this, and we might as well do this now. Closes MyIntervals#414
This enables PHPStan to understand certain PHPUnit-specific constructs.
This should improve CI performance a bit.
…Intervals#415) Fixes MyIntervals#412 For now, the `TestCase` just tests that all the unit values are parsed. (Other tests can be added here, but are beyond the scope of this change.) Co-authored-by: Raphael Schweikert <any@sabberworm.com> Co-authored-by: Jake Hotson <jake@qzdesign.co.uk> Co-authored-by: Oliver Klee <github@oliverklee.de>
On Windows, the `.phive` directory contains batch files that in turn invoke the phar installed elsewhere on the system. To be compatible with both Linux and Windows, the file must be invoked directly via the shell, and without a file extension specified (when invoked as well as when installed). Fixes MyIntervals#479.
Handle incorrect inputs color which have less than 6 chars
…vals#487) Updates the requirements on [phpstan/phpstan](https://github.com/phpstan/phpstan) to permit the latest version. - [Release notes](https://github.com/phpstan/phpstan/releases) - [Changelog](https://github.com/phpstan/phpstan/blob/1.11.x/CHANGELOG.md) - [Commits](phpstan/phpstan@1.10.58...1.10.59) --- updated-dependencies: - dependency-name: phpstan/phpstan dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
The `ci` script now also runs `ci:dynamic` which in turn runs `ci:tests`. The PHPUnit cache is only applicable if the configuration is to run previously failing tests first, which it isn't, hence `--do-not-cache-result`. Also update the readme instructions for running all code checks. Relates to MyIntervals#486.
…yIntervals#492) Updates the requirements on [phpstan/phpstan-phpunit](https://github.com/phpstan/phpstan-phpunit) to permit the latest version. - [Release notes](https://github.com/phpstan/phpstan-phpunit/releases) - [Commits](phpstan/phpstan-phpunit@1.3.15...1.3.16) --- updated-dependencies: - dependency-name: phpstan/phpstan-phpunit dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This diagram aims to provide an overview of which classes we have and how their are interconnected. Hence, it does not contain any methods or properties. As the Mermaid render on GitHub does not support namespace, the classes are not grouped into namespaces in the diagram. Fixes MyIntervals#422
…yIntervals#413) When there were many many elements in `$aStack`, starting the delimiter search from the beginning for each loop iteration was very slow. This is addressed by building a new array, rather than modifying `$aStack` in place, and iterating over it in a single pass. A particular 1.6M style string is now parsed in 5 seconds rather than 4 minutes.
The `ci` script now also runs `ci:dynamic` which in turn runs `ci:tests`. The PHPUnit cache is only applicable if the configuration is to run previously failing tests first, which it isn't, hence `--do-not-cache-result`. Also update the readme instructions for running all code checks. Relates to MyIntervals#486.
Move the associations to the bottom of the code. Also sort them. This helps us use an autogenerated diagram to which we add the associations (as the our tool of choice does not generate the associations for the diagram).
This avoids spurious differences appearing after using an editor that automatically removes trailing whitespace.
…vals#507) Replace the list of various possible sub-types with the common ancestor. Update the class diagram to indicate that `ValueList::$aComponents` no longer has a dependency on the sub-types definitions. Resolves MyIntervals#499. Supersedes and closes MyIntervals#506.
…als#513) This gets another thing out of the way towards moving to an autogenerated class diagram. Also sort the moved lines.
…ervals#515) This is another step towards auto-generating more of the class diagram.
) This ends the abstruction of the class diagram. These typos in the class diagram were caused by a typo in the Mermaid generation tool, which is now fixed. https://github.com/tasuku43/php-mermaid-class-diagram/releases
…ls#519) Updates the requirements on [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) to permit the latest version. - [Changelog](https://github.com/sebastianbergmann/phpunit/blob/8.5.37/ChangeLog-8.5.md) - [Commits](sebastianbergmann/phpunit@8.5.36...8.5.37) --- updated-dependencies: - dependency-name: phpunit/phpunit dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…gram (MyIntervals#518) Now the only part of the class diagram which we need to maintain manually are the associations between classes.
…vals#523) Updates the requirements on [phpstan/phpstan](https://github.com/phpstan/phpstan) to permit the latest version. - [Release notes](https://github.com/phpstan/phpstan/releases) - [Changelog](https://github.com/phpstan/phpstan/blob/1.11.x/CHANGELOG.md) - [Commits](phpstan/phpstan@1.10.59...1.10.60) --- updated-dependencies: - dependency-name: phpstan/phpstan dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…vals#525) Updates the requirements on [phpstan/phpstan](https://github.com/phpstan/phpstan) to permit the latest version. - [Release notes](https://github.com/phpstan/phpstan/releases) - [Changelog](https://github.com/phpstan/phpstan/blob/1.11.x/CHANGELOG.md) - [Commits](phpstan/phpstan@1.10.60...1.10.61) --- updated-dependencies: - dependency-name: phpstan/phpstan dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…vals#526) Updates the requirements on [phpstan/phpstan](https://github.com/phpstan/phpstan) to permit the latest version. - [Release notes](https://github.com/phpstan/phpstan/releases) - [Changelog](https://github.com/phpstan/phpstan/blob/1.11.x/CHANGELOG.md) - [Commits](phpstan/phpstan@1.10.61...1.10.62) --- updated-dependencies: - dependency-name: phpstan/phpstan dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…vals#527) Updates the requirements on [phpstan/phpstan](https://github.com/phpstan/phpstan) to permit the latest version. - [Release notes](https://github.com/phpstan/phpstan/releases) - [Changelog](https://github.com/phpstan/phpstan/blob/1.11.x/CHANGELOG.md) - [Commits](phpstan/phpstan@1.10.62...1.10.63) --- updated-dependencies: - dependency-name: phpstan/phpstan dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…vals#529) Updates the requirements on [phpstan/phpstan](https://github.com/phpstan/phpstan) to permit the latest version. - [Release notes](https://github.com/phpstan/phpstan/releases) - [Changelog](https://github.com/phpstan/phpstan/blob/1.11.x/CHANGELOG.md) - [Commits](phpstan/phpstan@1.10.63...1.10.64) --- updated-dependencies: - dependency-name: phpstan/phpstan dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…vals#530) Updates the requirements on [phpstan/phpstan](https://github.com/phpstan/phpstan) to permit the latest version. - [Release notes](https://github.com/phpstan/phpstan/releases) - [Changelog](https://github.com/phpstan/phpstan/blob/1.11.x/CHANGELOG.md) - [Commits](phpstan/phpstan@1.10.64...1.10.65) --- updated-dependencies: - dependency-name: phpstan/phpstan dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
raxbg
approved these changes
Jun 3, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Sync to upstream r844.eda7c24