Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
pvsaintpe committed May 2, 2024
1 parent 62c012b commit ed3309b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,11 @@
"laravel/framework": "^11.0"
},
"require-dev": {
"umbrellio/code-style-php": "^2.0",
"umbrellio/code-style-php": "^1.2",
"orchestra/testbench": "^9.0",
"php-coveralls/php-coveralls": "^2.7",
"codeception/codeception": "^5.0",
"phpunit/phpunit": "^11.0",
"squizlabs/php_codesniffer": "4.0.x-dev"
"phpunit/phpunit": "^11.0"
},
"scripts": {
"lint": [
Expand Down
2 changes: 1 addition & 1 deletion src/Schema/Blueprint.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ public function like(string $table): Fluent

/**
* @codeCoverageIgnore
* @return Fluent
*/
public function ifNotExists(): Fluent
{
Expand Down Expand Up @@ -183,6 +182,7 @@ public function daterange(string $column): Fluent
*/
protected function getSchemaManager()
{
/** @scrutinizer ignore-call */
$connection = Schema::getConnection();
$doctrineConnection = DriverManager::getConnection($connection->getConfig());
return $doctrineConnection->getSchemaManager();

Check notice on line 188 in src/Schema/Blueprint.php

View check run for this annotation

Scrutinizer / Inspection

src/Schema/Blueprint.php#L188

The function ``Doctrine\DBAL\Connection::getSchemaManager()`` has been deprecated: Use {@see createSchemaManager()} instead.
Expand Down

0 comments on commit ed3309b

Please sign in to comment.