Compare commits

...

9 Commits

Author SHA1 Message Date
e00aba539a release: v2.29.1 2023-12-27 15:27:07 +00:00
7799500d06 release: v2.29.0 2023-12-27 11:12:01 +00:00
c099991cd9 Merge pull request #1044 from nhrrs/fix-typo
Fix typo in `toBeClass`
2023-12-23 02:03:57 +00:00
e27d2e7394 Fix typo in toBeClass 2023-12-23 00:36:41 +00:00
8f738f5d49 Revert "Merge pull request #919 from WendellAdriel/feature/coverage-errors-only-flag-2"
This reverts commit 1e2ca40c5b, reversing
changes made to 4522cb5dcb.
2023-12-17 22:03:15 +00:00
1e2ca40c5b Merge pull request #919 from WendellAdriel/feature/coverage-errors-only-flag-2
[2.x] Print only files below the min coverage
2023-12-17 21:56:14 +00:00
4522cb5dcb Merge pull request #1014 from mjsafarali/chore/docker-file-optimization
[2.x] Dockerfile Optimization
2023-12-17 21:39:38 +00:00
4f35dbc607 chore: optimized version of the Dockerfile 2023-11-18 14:57:03 +03:30
8ea7b2b802 Add errors-only flag 2023-08-18 10:13:28 +01:00
6 changed files with 15 additions and 20 deletions

View File

@ -19,14 +19,14 @@
"require": { "require": {
"php": "^8.1.0", "php": "^8.1.0",
"brianium/paratest": "^7.3.1", "brianium/paratest": "^7.3.1",
"nunomaduro/collision": "^7.10.0|^8.0.0", "nunomaduro/collision": "^7.10.0|^8.0.1",
"nunomaduro/termwind": "^1.15.1|^2.0.0", "nunomaduro/termwind": "^1.15.1|^2.0.0",
"pestphp/pest-plugin": "^2.1.1", "pestphp/pest-plugin": "^2.1.1",
"pestphp/pest-plugin-arch": "^2.5.0", "pestphp/pest-plugin-arch": "^2.5.0",
"phpunit/phpunit": "^10.5.3" "phpunit/phpunit": "^10.5.5"
}, },
"conflict": { "conflict": {
"phpunit/phpunit": ">10.5.3", "phpunit/phpunit": ">10.5.5",
"sebastian/exporter": "<5.1.0", "sebastian/exporter": "<5.1.0",
"webmozart/assert": "<1.11.0" "webmozart/assert": "<1.11.0"
}, },
@ -52,8 +52,8 @@
}, },
"require-dev": { "require-dev": {
"pestphp/pest-dev-tools": "^2.16.0", "pestphp/pest-dev-tools": "^2.16.0",
"pestphp/pest-plugin-type-coverage": "^2.5.0", "pestphp/pest-plugin-type-coverage": "^2.6.0",
"symfony/process": "^6.4.0|^7.0.1" "symfony/process": "^6.4.0|^7.0.0"
}, },
"minimum-stability": "dev", "minimum-stability": "dev",
"prefer-stable": true, "prefer-stable": true,

View File

@ -1,21 +1,16 @@
ARG PHP=8.1 ARG PHP=8.1
FROM php:${PHP}-cli-alpine FROM php:${PHP}-cli-alpine
RUN apk update \ RUN apk update && apk add \
&& apk add zip libzip-dev icu-dev git zip libzip-dev icu-dev git \
RUN docker-php-ext-configure zip RUN docker-php-ext-configure zip intl
RUN docker-php-ext-install zip RUN docker-php-ext-install zip intl
RUN docker-php-ext-enable zip RUN docker-php-ext-enable zip intl
RUN docker-php-ext-configure intl RUN apk add --no-cache linux-headers
RUN docker-php-ext-install intl
RUN docker-php-ext-enable intl
RUN apk add --no-cache $PHPIZE_DEPS linux-headers
RUN pecl install xdebug RUN pecl install xdebug
RUN docker-php-ext-enable xdebug RUN docker-php-ext-enable xdebug
COPY --from=composer:2 /usr/bin/composer /usr/bin/composer COPY --from=composer:2 /usr/bin/composer /usr/bin/composer
WORKDIR /var/www/html WORKDIR /var/www/html

View File

@ -535,7 +535,7 @@ final class Expectation
} }
/** /**
* Asserts that the given expectation targets is an class. * Asserts that the given expectation target is a class.
*/ */
public function toBeClass(): ArchExpectation public function toBeClass(): ArchExpectation
{ {

View File

@ -6,7 +6,7 @@ namespace Pest;
function version(): string function version(): string
{ {
return '2.28.1'; return '2.29.1';
} }
function testDirectory(string $file = ''): string function testDirectory(string $file = ''): string

View File

@ -1,5 +1,5 @@
Pest Testing Framework 2.28.1. Pest Testing Framework 2.29.1.
USAGE: pest <file> [options] USAGE: pest <file> [options]

View File

@ -1,3 +1,3 @@
Pest Testing Framework 2.28.1. Pest Testing Framework 2.29.1.