Skip to content

Commit 21409e3

Browse files
Merge branch 'main' into feature/e2e
2 parents 5a9a416 + 0a8459c commit 21409e3

8 files changed

Lines changed: 1443 additions & 626 deletions

File tree

.github/workflows/full-checks.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ jobs:
2626
- "8.1"
2727
- "8.2"
2828
- "8.3"
29+
- "8.4"
2930
operating-system:
3031
- "ubuntu-22.04"
3132

Dockerfile

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
ARG PHP_VERSION
2+
FROM php:${PHP_VERSION}cli
3+
4+
# Increase memory limit
5+
RUN echo 'memory_limit = -1' >> /usr/local/etc/php/conf.d/docker-php-memlimit.ini
6+
7+
# install Composer
8+
COPY ./docker/composer.sh /root/
9+
10+
RUN <<EOF
11+
set -eux;
12+
apt-get update;
13+
apt-get install -y \
14+
git \
15+
zip;
16+
rm -rf /var/lib/apt/lists/*;
17+
cd /root/;
18+
chmod 755 composer.sh;
19+
/root/composer.sh;
20+
mv /root/composer.phar /usr/local/bin/composer;
21+
rm /root/composer.sh;
22+
EOF
23+
24+
# install Xdebug
25+
ARG XDEBUG_ENABLED=1
26+
27+
RUN <<EOF
28+
if [ $XDEBUG_ENABLED -eq 1 ]; then
29+
pecl install xdebug;
30+
docker-php-ext-enable xdebug;
31+
fi
32+
EOF
33+
34+
WORKDIR /app/

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# PHPStan PHP Language Extensions (currently in BETA)
22

33
[![PHP versions: 8.0 to 8.3](https://img.shields.io/badge/php-8.0|8.1|8.|8.3-blue.svg)](https://packagist.org/packages/dave-liddament/phpstan-php-language-extensions)
4-
[![Latest Stable Version](https://poser.pugx.org/dave-liddament/phphstan-php-language-extensions/v/stable)](https://packagist.org/packages/dave-liddament/phpstan-php-language-extensions)
4+
[![Latest Stable Version](https://poser.pugx.org/dave-liddament/phpstan-php-language-extensions/v/stable)](https://packagist.org/packages/dave-liddament/phpstan-php-language-extensions)
55
[![License](https://poser.pugx.org/dave-liddament/phpstan-php-language-extensions/license)](https://github.com/DaveLiddament/phpstan-php-language-extensions/blob/main/LICENSE.md)
66
[![Total Downloads](https://poser.pugx.org/dave-liddament/phpstan-php-language-extensions/downloads)](https://packagist.org/packages/dave-liddament/phpstan-php-language-extensions/stats)
77

composer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@
44
"keywords": ["static analysis", "phpstan", "namespace visibility attribute", "friend attribute"],
55
"type": "phpstan-extension",
66
"require": {
7-
"php": "~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0",
8-
"phpstan/phpstan": "^1.11",
9-
"dave-liddament/php-language-extensions": "^0.8.0"
7+
"php": "~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0",
8+
"phpstan/phpstan": "^1.12",
9+
"dave-liddament/php-language-extensions": "^0.8.0 || ^0.9.0"
1010
},
1111
"require-dev": {
1212
"phpunit/phpunit": "^9.6.12",
1313
"friendsofphp/php-cs-fixer": "^3.26.1",
1414
"php-parallel-lint/php-parallel-lint": "^1.3.2",
15-
"dave-liddament/phpstan-rule-test-helper": "^0.3.0",
15+
"dave-liddament/phpstan-rule-test-helper": "^0.4.0",
1616
"nette/neon": "^3.4"
1717
},
1818
"license": "MIT",

0 commit comments

Comments
 (0)