Skip to content

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 66 commits into from
Jun 3, 2024
Merged

Catch up with upstream changes #5

merged 66 commits into from
Jun 3, 2024

Conversation

npghub
Copy link

@npghub npghub commented Mar 25, 2024

Sync to upstream r844.eda7c24

dependabot bot and others added 30 commits September 5, 2023 11:27
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.
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.
KaiOnGitHub and others added 28 commits February 17, 2024 15:07
…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 raxbg merged commit 1121fdc into raxbg:master Jun 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants