Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
},
"require": {
"php": ">=7.2.0",
"guzzlehttp/streams": "^3.0",
"guzzlehttp/guzzle": "^7.2"
},
"require-dev": {
Expand Down
8 changes: 5 additions & 3 deletions src/aliases.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,12 @@
* limitations under the License.
*/
/**
* Alias.php creates aliases for the classes to match the
* Alias.php creates aliases for the classes to match the
* original names used in the php55 sdk. This is for the
* convenience of migration to php7+ sdk. Alias.php is
* convenience of migration to php7+ sdk. Alias.php is
* included in the autoloader inside the composer.json.
*/

@class_alias('Google\AppEngine\Api\AppIdentity\AppIdentityService', 'google\appengine\api\app_identity\AppIdentityService');
if (!class_exists('google\appengine\api\app_identity\AppIdentityService')) {
@class_alias('Google\AppEngine\Api\AppIdentity\AppIdentityService', 'google\appengine\api\app_identity\AppIdentityService');
}