Skip to content

Commit

Permalink
add copyright and description to autoloaders mocks
Browse files Browse the repository at this point in the history
  • Loading branch information
lavarou committed Sep 12, 2024
1 parent 5b680a1 commit 3de4410
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1 +1,12 @@
<?php
/*
* Copyright 2020 New Relic Corporation. All rights reserved.
* SPDX-License-Identifier: Apache-2.0
*/

/*DESCRIPTION
This file is the usual entry point for installing and using PSR-4 Autoloader.
The agent verifies its presence to determine if PSR-4 Autoloader is used.
*/

echo "";
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
<?php
/*
* Copyright 2020 New Relic Corporation. All rights reserved.
* SPDX-License-Identifier: Apache-2.0
*/

/*DESCRIPTION
This file is the core of real Composer's runtime API, and agent verifies its presence to determine if Composer is used.
It contains \Composer\InstalledVersions class with methods used by the agent to get the installed packages and their versions.
*/

namespace Composer;
class InstalledVersions
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?php
/*
* Copyright 2020 New Relic Corporation. All rights reserved.
* SPDX-License-Identifier: Apache-2.0
*/

/*DESCRIPTION
This file is needed by real Composer's Autoload functionality, and agent uses its presence to determine if Composer is used.
*/
Original file line number Diff line number Diff line change
@@ -1 +1,12 @@
<?php
/*
* Copyright 2020 New Relic Corporation. All rights reserved.
* SPDX-License-Identifier: Apache-2.0
*/

/*DESCRIPTION
This file is the usual entry point for installing and using PSR-4 Autoloader.
The agent verifies its presence to determine if PSR-4 Autoloader is used.
*/

echo "";

0 comments on commit 3de4410

Please sign in to comment.