Skip to content

Commit 3de4410

Browse files
committed
add copyright and description to autoloaders mocks
1 parent 5b680a1 commit 3de4410

File tree

4 files changed

+40
-0
lines changed

4 files changed

+40
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,12 @@
1+
<?php
2+
/*
3+
* Copyright 2020 New Relic Corporation. All rights reserved.
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
/*DESCRIPTION
8+
This file is the usual entry point for installing and using PSR-4 Autoloader.
9+
The agent verifies its presence to determine if PSR-4 Autoloader is used.
10+
*/
11+
112
echo "";

tests/integration/autoloader/autoload-with-composer/vendor/composer/InstalledVersions.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,13 @@
11
<?php
2+
/*
3+
* Copyright 2020 New Relic Corporation. All rights reserved.
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
/*DESCRIPTION
8+
This file is the core of real Composer's runtime API, and agent verifies its presence to determine if Composer is used.
9+
It contains \Composer\InstalledVersions class with methods used by the agent to get the installed packages and their versions.
10+
*/
211

312
namespace Composer;
413
class InstalledVersions
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<?php
2+
/*
3+
* Copyright 2020 New Relic Corporation. All rights reserved.
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
/*DESCRIPTION
8+
This file is needed by real Composer's Autoload functionality, and agent uses its presence to determine if Composer is used.
9+
*/
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,12 @@
1+
<?php
2+
/*
3+
* Copyright 2020 New Relic Corporation. All rights reserved.
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
/*DESCRIPTION
8+
This file is the usual entry point for installing and using PSR-4 Autoloader.
9+
The agent verifies its presence to determine if PSR-4 Autoloader is used.
10+
*/
11+
112
echo "";

0 commit comments

Comments
 (0)