Skip to content

Commit

Permalink
Merge pull request #844 from greg0ire/maintenance
Browse files Browse the repository at this point in the history
Maintenance
  • Loading branch information
greg0ire authored May 5, 2024
2 parents 4168e24 + 9251fa5 commit 872ba2c
Show file tree
Hide file tree
Showing 8 changed files with 28 additions and 27 deletions.
6 changes: 1 addition & 5 deletions .doctrine-project.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,7 @@
"name": "5.0",
"branchName": "5.0.x",
"slug": "5.0",
"current": true,
"aliases": [
"current",
"stable"
]
"current": true
},
{
"name": "4.7",
Expand Down
8 changes: 8 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
labels:
- "CI"
4 changes: 3 additions & 1 deletion .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,8 @@ jobs:
path: "reports"

- name: "Upload to Codecov"
uses: "codecov/codecov-action@v3"
uses: "codecov/codecov-action@v4"
with:
directory: reports
env:
CODECOV_TOKEN: "${{ secrets.CODECOV_TOKEN }}"
24 changes: 15 additions & 9 deletions psalm-baseline.xml
Original file line number Diff line number Diff line change
@@ -1,29 +1,35 @@
<?xml version="1.0" encoding="UTF-8"?>
<files psalm-version="5.18.0@b113f3ed0259fd6e212d87c3df80eec95a6abf19">
<files psalm-version="5.24.0@462c80e31c34e58cc4f750c656be3927e80e550e">
<file src="config/value_resolver.php">
<UndefinedClass>
<code>ExpressionLanguage</code>
<code><![CDATA[ExpressionLanguage]]></code>
</UndefinedClass>
</file>
<file src="src/Command/LoadDataFixturesDoctrineODMCommand.php">
<UndefinedInterfaceMethod>
<code>ask</code>
<code><![CDATA[ask]]></code>
</UndefinedInterfaceMethod>
</file>
<file src="src/DependencyInjection/Configuration.php">
<UndefinedInterfaceMethod>
<code>arrayNode</code>
<code>end</code>
<code>scalarNode</code>
<code>scalarNode</code>
<code><![CDATA[arrayNode]]></code>
<code><![CDATA[end]]></code>
<code><![CDATA[scalarNode]]></code>
<code><![CDATA[scalarNode]]></code>
</UndefinedInterfaceMethod>
<UndefinedMethod>
<code>children</code>
<code><![CDATA[children]]></code>
</UndefinedMethod>
</file>
<file src="tests/DocumentValueResolverFunctionalTest.php">
<InvalidArgument>
<code><![CDATA[[DocumentValueResolverController::class, 'showUserByDefault']]]></code>
<code><![CDATA[[DocumentValueResolverController::class, 'showUserWithMapping']]]></code>
</InvalidArgument>
</file>
<file src="tests/Form/Type/GuesserTestType.php">
<MissingTemplateParam>
<code>GuesserTestType</code>
<code><![CDATA[GuesserTestType]]></code>
</MissingTemplateParam>
</file>
</files>
6 changes: 1 addition & 5 deletions src/Loader/SymfonyFixturesLoader.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,7 @@ final class SymfonyFixturesLoader extends Loader implements SymfonyFixturesLoade
/** @var array<string, array<string, bool>> */
private array $groupsFixtureMapping = [];

/**
* @internal
*
* @param array $fixtures
*/
/** @internal */
public function addFixtures(array $fixtures): void
{
// Because parent::addFixture may call $this->createFixture
Expand Down
4 changes: 0 additions & 4 deletions src/ManagerConfigurator.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ class ManagerConfigurator
{
/**
* Construct.
*
* @param array $enabledFilters
*/
public function __construct(private array $enabledFilters = [])
{
Expand Down Expand Up @@ -48,8 +46,6 @@ private function enableFilters(DocumentManager $documentManager): void
/**
* Loads custom types.
*
* @param array $types
*
* @throws MappingException
*/
public static function loadTypes(array $types): void
Expand Down
1 change: 0 additions & 1 deletion tests/Fixtures/Form/Guesser.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ class Guesser
#[ODM\Field(type: Type::INT)]
public ?int $intField = null;

/** @var array */
#[ODM\Field(type: Type::COLLECTION)]
public array $collectionField;

Expand Down
2 changes: 0 additions & 2 deletions tests/Fixtures/Validator/Document.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,9 @@ class Document
#[ODM\Field(type: Type::STRING)]
public string $name;

/** @var array */
#[ODM\Field(type: Type::HASH)]
public array $hash;

/** @var array */
#[ODM\Field(type: Type::COLLECTION)]
public array $collection;

Expand Down

0 comments on commit 872ba2c

Please sign in to comment.