mirror of
https://github.com/pestphp/pest.git
synced 2026-03-07 00:07:22 +01:00
Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| af6240b4ee | |||
| 78b328e970 | |||
| c92fa45ad7 | |||
| d050ef8d54 |
6
.github/workflows/tests.yml
vendored
6
.github/workflows/tests.yml
vendored
@ -8,7 +8,7 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest, macos-latest, windows-latest]
|
os: [ubuntu-latest, macos-latest, windows-latest]
|
||||||
php: ['7.3', '7.4', '8.0', '8.1']
|
php: ['7.3', '7.4', '8.0', '8.1', '8.2']
|
||||||
dependency-version: [prefer-lowest, prefer-stable]
|
dependency-version: [prefer-lowest, prefer-stable]
|
||||||
parallel: ['', '--parallel']
|
parallel: ['', '--parallel']
|
||||||
exclude:
|
exclude:
|
||||||
@ -16,6 +16,10 @@ jobs:
|
|||||||
os: macos-latest
|
os: macos-latest
|
||||||
- php: 8.1
|
- php: 8.1
|
||||||
os: windows-latest
|
os: windows-latest
|
||||||
|
- php: 8.2
|
||||||
|
os: macos-latest
|
||||||
|
- php: 8.2
|
||||||
|
os: windows-latest
|
||||||
|
|
||||||
name: PHP ${{ matrix.php }} - ${{ matrix.os }} - ${{ matrix.dependency-version }} - ${{ matrix.parallel }}
|
name: PHP ${{ matrix.php }} - ${{ matrix.os }} - ${{ matrix.dependency-version }} - ${{ matrix.parallel }}
|
||||||
|
|
||||||
|
|||||||
@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
|
|||||||
The format is based on [Keep a Changelog](http://keepachangelog.com/)
|
The format is based on [Keep a Changelog](http://keepachangelog.com/)
|
||||||
and this project adheres to [Semantic Versioning](http://semver.org/).
|
and this project adheres to [Semantic Versioning](http://semver.org/).
|
||||||
|
|
||||||
|
## [v1.22.1 (2022-08-29)](https://github.com/pestphp/pest/compare/v1.22.0...v1.22.1)
|
||||||
|
### Fixed
|
||||||
|
- Initial PHP 8.2 support ([d050ef8](https://github.com/pestphp/pest/commit/d050ef8d54ffe8dfe015adeb1188aae2cca33c33))
|
||||||
|
|
||||||
## [v1.22.0 (2022-08-28)](https://github.com/pestphp/pest/compare/v1.21.3...v1.22.0)
|
## [v1.22.0 (2022-08-28)](https://github.com/pestphp/pest/compare/v1.21.3...v1.22.0)
|
||||||
### Added
|
### Added
|
||||||
- Initial PHP 8.2 support ([#563](https://github.com/pestphp/pest/pull/563))
|
- Initial PHP 8.2 support ([#563](https://github.com/pestphp/pest/pull/563))
|
||||||
|
|||||||
@ -59,8 +59,8 @@
|
|||||||
"bin/pest"
|
"bin/pest"
|
||||||
],
|
],
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"lint": "php-cs-fixer fix -v",
|
"lint": "PHP_CS_FIXER_IGNORE_ENV=true php-cs-fixer fix -v",
|
||||||
"test:lint": "php-cs-fixer fix -v --dry-run",
|
"test:lint": "PHP_CS_FIXER_IGNORE_ENV=true php-cs-fixer fix -v --dry-run",
|
||||||
"test:types": "phpstan analyse --ansi --memory-limit=-1",
|
"test:types": "phpstan analyse --ansi --memory-limit=-1",
|
||||||
"test:unit": "php bin/pest --colors=always --exclude-group=integration",
|
"test:unit": "php bin/pest --colors=always --exclude-group=integration",
|
||||||
"test:parallel": "php bin/pest -p --colors=always --exclude-group=integration",
|
"test:parallel": "php bin/pest -p --colors=always --exclude-group=integration",
|
||||||
|
|||||||
@ -216,7 +216,7 @@ final class TestCaseFactory
|
|||||||
eval("
|
eval("
|
||||||
namespace $namespace;
|
namespace $namespace;
|
||||||
|
|
||||||
#[AllowDynamicProperties]
|
#[\AllowDynamicProperties]
|
||||||
final class $className extends $baseClass implements $hasPrintableTestCaseClassFQN {
|
final class $className extends $baseClass implements $hasPrintableTestCaseClassFQN {
|
||||||
$traitsCode
|
$traitsCode
|
||||||
|
|
||||||
|
|||||||
@ -6,7 +6,7 @@ namespace Pest;
|
|||||||
|
|
||||||
function version(): string
|
function version(): string
|
||||||
{
|
{
|
||||||
return '1.22.0';
|
return '1.22.1';
|
||||||
}
|
}
|
||||||
|
|
||||||
function testDirectory(string $file = ''): string
|
function testDirectory(string $file = ''): string
|
||||||
|
|||||||
@ -44,6 +44,7 @@ final class ExceptionTrace
|
|||||||
*/
|
*/
|
||||||
public static function removePestReferences(Throwable $t): void
|
public static function removePestReferences(Throwable $t): void
|
||||||
{
|
{
|
||||||
|
/* @phpstan-ignore-next-line */
|
||||||
if (!property_exists($t, 'serializableTrace')) {
|
if (!property_exists($t, 'serializableTrace')) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user