Skip to content

Commit 6b443cf

Browse files
committed
Merge branch 'master' into develop
2 parents 28c2b7a + d1d2895 commit 6b443cf

34 files changed

+468
-84
lines changed

.github/workflows/stale.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: 'close stale issues/PRs'
22
on:
33
schedule:
4-
- cron: '* */3 * * *'
4+
- cron: '0 0 * * *'
55
workflow_dispatch:
66
jobs:
77
stale:
@@ -18,7 +18,7 @@ jobs:
1818
debug-only: false
1919
ascending: false
2020

21-
exempt-issue-labels: "Status: Backlog,Status: In Progress, Status: Confirmed, Status: Blocked"
21+
exempt-issue-labels: "Status: Backlog,Status: In Progress"
2222
stale-issue-label: "Status: Stale"
2323
stale-issue-message: |-
2424
This issue has gone three weeks without activity. In another week, I will close it.

.github/workflows/static-analysis.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Setup PHP
2020
uses: shivammathur/setup-php@v2
2121
with:
22-
php-version: '8.0'
22+
php-version: '8.1'
2323

2424
- name: Install dependencies
2525
run: composer update --no-progress --no-interaction --prefer-dist
@@ -36,6 +36,8 @@ jobs:
3636

3737
- name: Setup PHP
3838
uses: shivammathur/setup-php@v2
39+
with:
40+
php-version: '8.1'
3941

4042
- name: Install dependencies
4143
run: composer update --no-progress --no-interaction --prefer-dist
@@ -53,7 +55,7 @@ jobs:
5355
- name: Setup PHP
5456
uses: shivammathur/setup-php@v2
5557
with:
56-
php-version: '8.0'
58+
php-version: '8.1'
5759

5860
- name: Install dependencies
5961
run: composer update --no-progress --no-interaction --prefer-dist

.github/workflows/tests.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,6 @@ jobs:
7171
- name: Setup Problem Matchers for PHPUnit
7272
run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
7373

74-
- name: Remove PHP-CS-Fixer
75-
run: composer remove --dev friendsofphp/php-cs-fixer --no-update
76-
7774
- name: Remove Symfony Messenger
7875
run: composer remove --dev symfony/messenger --no-update
7976
if: matrix.symfony-version == '3.4.*'

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
package.xml
33
/vendor
44
.idea
5-
.php_cs.cache
5+
.php-cs-fixer.cache
66
.phpunit.result.cache
77
docs/_build
88
var

.php_cs.dist renamed to .php-cs-fixer.dist.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
<?php
22

3-
return PhpCsFixer\Config::create()
3+
declare(strict_types=1);
4+
5+
return (new PhpCsFixer\Config())
6+
->setRiskyAllowed(true)
47
->setRules([
58
'@PSR2' => true,
69
'@Symfony' => true,
@@ -11,8 +14,6 @@
1114
'imports_order' => ['class', 'function', 'const'],
1215
],
1316
'declare_strict_types' => true,
14-
'psr0' => true,
15-
'psr4' => true,
1617
'random_api_migration' => true,
1718
'yoda_style' => true,
1819
'self_accessor' => false,
@@ -27,7 +28,6 @@
2728
'property' => 'multi',
2829
],
2930
])
30-
->setRiskyAllowed(true)
3131
->setFinder(
3232
PhpCsFixer\Finder::create()
3333
->in(__DIR__)

CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,22 @@
44

55
- Add `TracingDriverConnectionInterface::getNativeConnection()` method to get the original driver connection (#597)
66

7+
## 4.2.10 (2022-05-17)
8+
9+
- Fix compatibility issue with Twig >= 3.4.0 (#628)
10+
11+
## 4.2.9 (2022-05-03)
12+
13+
- Fix deprecation notice thrown when instrumenting the `PDOStatement::bindParam()` method and passing `$length = null` on DBAL `2.x` (#613)
14+
15+
## 4.2.8 (2022-03-31)
16+
17+
- Fix compatibility issue with Doctrine Bundle `>= 2.6.0` (#608)
18+
19+
## 4.2.7 (2022-02-18)
20+
21+
- Fix deprecation notice thrown when instrumenting the `PDOStatement::bindParam()` method and passing `$length = null` (#586)
22+
723
## 4.2.6 (2022-01-10)
824

925
- Add support for `symfony/cache-contracts` package version `3.x` (#588)

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
<p align="center">
2+
<a href="https://sentry.io/?utm_source=github&utm_medium=logo" target="_blank">
3+
<img src="https://sentry-brand.storage.googleapis.com/sentry-wordmark-dark-280x84.png" alt="Sentry" width="280" height="84">
4+
</a>
5+
</p>
6+
17
# sentry-symfony
28

39
Symfony integration for [Sentry](https://getsentry.com/).

composer.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,14 +40,15 @@
4040
"require-dev": {
4141
"doctrine/dbal": "^2.13||^3.0",
4242
"doctrine/doctrine-bundle": "^1.12||^2.5",
43-
"friendsofphp/php-cs-fixer": "^2.18",
44-
"jangregor/phpstan-prophecy": "^0.8",
43+
"friendsofphp/php-cs-fixer": "^2.19||^3.6",
44+
"jangregor/phpstan-prophecy": "^1.0",
4545
"monolog/monolog": "^1.3||^2.0",
4646
"phpspec/prophecy": "!=1.11.0",
4747
"phpspec/prophecy-phpunit": "^1.1||^2.0",
4848
"phpstan/extension-installer": "^1.0",
49-
"phpstan/phpstan": "^0.12",
50-
"phpstan/phpstan-phpunit": "^0.12",
49+
"phpstan/phpstan": "^1.3",
50+
"phpstan/phpstan-phpunit": "^1.0",
51+
"phpstan/phpstan-symfony": "^1.0",
5152
"phpunit/phpunit": "^8.5.14||^9.3.9",
5253
"symfony/browser-kit": "^3.4.44||^4.4.20||^5.0.11||^6.0",
5354
"symfony/cache": "^3.4.44||^4.4.20||^5.0.11||^6.0",

0 commit comments

Comments
 (0)