File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99
1010 strategy :
1111 matrix :
12- php : ['8.1', '8. 2']
12+ php : ['8.2']
1313 dependencies : ['normal', 'authoritative']
1414
1515 steps :
Original file line number Diff line number Diff line change 1414 }
1515 ],
1616 "require" : {
17- "php" : " ^8.1 || ^8. 2" ,
17+ "php" : " ^8.2" ,
1818 "ext-json" : " *" ,
1919 "ext-pdo" : " *" ,
2020 "azjezz/psl" : " ^2.7.0" ,
21- "doctrine/dbal" : " ^3.6.6 " ,
21+ "doctrine/dbal" : " ^3.6.7 " ,
2222 "doctrine/orm" : " ^2.16.2" ,
2323 "guzzlehttp/guzzle" : " ^7.8.0" ,
2424 "guzzlehttp/psr7" : " ^2.6.1" ,
2525 "psr/http-message" : " 2.0"
2626 },
2727 "require-dev" : {
2828 "doctrine/coding-standard" : " ^12.0.0" ,
29- "infection/infection" : " ^0.27.0 " ,
30- "maglnet/composer-require-checker" : " ^4.6 .0" ,
29+ "infection/infection" : " ^0.27.2 " ,
30+ "maglnet/composer-require-checker" : " ^4.7 .0" ,
3131 "malukenho/mcbumpface" : " ^1.2.0" ,
32- "phpunit/phpunit" : " ^10.3.3 " ,
32+ "phpunit/phpunit" : " ^10.3.5 " ,
3333 "roave/security-advisories" : " dev-master" ,
3434 "staabm/annotate-pull-request-from-checkstyle" : " ^1.8.5"
3535 },
Original file line number Diff line number Diff line change 1111use function method_exists ;
1212use function sprintf ;
1313
14- final class BoundValuesSeparator
14+ final readonly class BoundValuesSeparator
1515{
1616 private function __construct ()
1717 {
Original file line number Diff line number Diff line change 1111
1212use function Psl \invariant ;
1313
14- class Result extends DBALResult
14+ final class Result extends DBALResult
1515{
1616 private DriverResult $ storedResult ;
1717
Original file line number Diff line number Diff line change 99use PDO ;
1010use PDOException ;
1111
12- final class Result implements DriverResultInterface
12+ final readonly class Result implements DriverResultInterface
1313{
1414 public function __construct (private SoqlStatement $ statement )
1515 {
Original file line number Diff line number Diff line change 99use function explode ;
1010use function trim ;
1111
12- final class RequestThrottler
12+ final readonly class RequestThrottler
1313{
1414 public const HEADER = 'Sforce-Limit-Info ' ;
1515
16- public function __construct (public readonly int $ used , public readonly int $ total )
16+ public function __construct (public int $ used , public int $ total )
1717 {
1818 if ($ this ->used >= $ this ->total ) {
1919 throw RequestThrottlingException::create ($ this ->used , $ this ->total );
Original file line number Diff line number Diff line change 99
1010use function sprintf ;
1111
12- final class HttpAuthorizedClientFactory implements AuthorizedClientFactory
12+ final readonly class HttpAuthorizedClientFactory implements AuthorizedClientFactory
1313{
1414 public function __construct (
15- private readonly AccessTokenFactory $ accessTokenFactory ,
16- private readonly string $ salesforceInstance ,
17- private readonly string $ apiVersion ,
15+ private AccessTokenFactory $ accessTokenFactory ,
16+ private string $ salesforceInstance ,
17+ private string $ apiVersion ,
1818 ) {
1919 }
2020
Original file line number Diff line number Diff line change 1212
1313use const JSON_THROW_ON_ERROR ;
1414
15- final class Payload
15+ final readonly class Payload
1616{
1717 /** @param mixed[] $values */
1818 public function __construct (
Original file line number Diff line number Diff line change 2020use function array_merge_recursive ;
2121use function Psl \invariant ;
2222
23- class SoqlDriver implements Driver, ExceptionConverter
23+ readonly class SoqlDriver implements Driver, ExceptionConverter
2424{
2525 /** {@inheritDoc} */
2626 public function connect (array $ params ): Connection
You can’t perform that action at this time.
0 commit comments