Skip to content

Commit

Permalink
Merge pull request #104 from Jurj-Bogdan/2.23.1
Browse files Browse the repository at this point in the history
marked methods to be removed in version 3 as deprecated, updated composer lock
  • Loading branch information
arhimede authored Jan 27, 2025
2 parents 799aeb8 + 6810bb6 commit 9015fcb
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 18 deletions.
38 changes: 21 additions & 17 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/SaveHandler/Cache.php
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ public function getCacheStorage()
}

/**
* @deprecated Misspelled method - use getCacheStorage() instead
* @deprecated Misspelled method - use getCacheStorage() instead. Will be removed in version 3.0
*
* @return CacheStorage
*/
Expand Down
2 changes: 2 additions & 0 deletions src/Service/ContainerAbstractServiceFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ public function canCreate(ContainerInterface $container, $requestedName)
}

/**
* @deprecated This method will be removed in version 3.0
* Can we create an instance of the given service? (v2 usage)
*
* @param string $name
Expand All @@ -98,6 +99,7 @@ public function __invoke(ContainerInterface $container, $requestedName, ?array $
}

/**
* @deprecated This method will be removed in version 3.0
* Create and return a named container (v2 usage).
*
* @param string $name
Expand Down
1 change: 1 addition & 0 deletions src/Service/SessionConfigFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ public function __invoke(ContainerInterface $container, $requestedName, ?array $
}

/**
* @deprecated This method will be removed in version 3.0
* Create and return a config instance (v2 usage).
*
* @param null|string $canonicalName
Expand Down
1 change: 1 addition & 0 deletions src/Service/SessionManagerFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ public function __invoke(ContainerInterface $container, $requestedName, ?array $
}

/**
* @deprecated This method will be removed in version 3.0
* Create a SessionManager instance (v2 usage)
*
* @param null|string $canonicalName
Expand Down
1 change: 1 addition & 0 deletions src/Service/StorageFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ public function __invoke(ContainerInterface $container, $requestedName, ?array $
}

/**
* @deprecated This method will be removed in version 3.0
* Create and return a storage instance (v2 usage).
*
* @param null|string $canonicalName
Expand Down

0 comments on commit 9015fcb

Please sign in to comment.