Skip to content

Commit a4b38b4

Browse files
committed
Move boilerplate license to a separate file; compress the @copyright, @license, and @author tags
1 parent 910c990 commit a4b38b4

File tree

80 files changed

+172
-1069
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

80 files changed

+172
-1069
lines changed

LICENSE.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
Copyright 2004 Meta Platforms, Inc.
2+
3+
Licensed under the Apache License, Version 2.0 (the "License");
4+
you may not use this file except in compliance with the License.
5+
You may obtain a copy of the License at
6+
7+
http://www.apache.org/licenses/LICENSE-2.0
8+
9+
Unless required by applicable law or agreed to in writing, software
10+
distributed under the License is distributed on an "AS IS" BASIS,
11+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
See the License for the specific language governing permissions and
13+
limitations under the License.

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
WebDriver for Selenium 2
22
========================
3-
This WebDriver client implementation is based on Facebook's [php-webdriver](https://github.com/facebook/php-webdriver/) project by Justin Bishop.
3+
This WebDriver client implementation is based on Meta/Facebook's original [php-webdriver](https://github.com/instaclick/php-webdriver/tree/upstream)
4+
project by Justin Bishop. Meta/Facebook's current [php-webdriver](https://github.com/php-webdriver/php-webdriver) is a complete rewrite.
45

56
Distinguishing features:
67
* Up-to-date with [WebDriver: W3C Editor's Draft 1 April 2022](https://w3c.github.io/webdriver/)

lib/WebDriver/AbstractWebDriver.php

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,12 @@
11
<?php
22

33
/**
4-
* Copyright 2004-2022 Facebook. All Rights Reserved.
5-
*
6-
* Licensed under the Apache License, Version 2.0 (the "License");
7-
* you may not use this file except in compliance with the License.
8-
* You may obtain a copy of the License at
9-
*
10-
* http://www.apache.org/licenses/LICENSE-2.0
11-
*
12-
* Unless required by applicable law or agreed to in writing, software
13-
* distributed under the License is distributed on an "AS IS" BASIS,
14-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15-
* See the License for the specific language governing permissions and
16-
* limitations under the License.
4+
* @copyright 2004 Meta Platforms, Inc.
5+
* @license Apache-2.0
176
*
187
* @package WebDriver
198
*
209
* @author Justin Bishop <[email protected]>
21-
* @author Anthon Pang <[email protected]>
22-
* @author Fabrizio Branca <[email protected]>
23-
* @author Tsz Ming Wong <[email protected]>
2410
*/
2511

2612
namespace WebDriver;

lib/WebDriver/Alert.php

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,8 @@
11
<?php
22

33
/**
4-
* Copyright 2017-2022 Anthon Pang. All Rights Reserved.
5-
*
6-
* Licensed under the Apache License, Version 2.0 (the "License");
7-
* you may not use this file except in compliance with the License.
8-
* You may obtain a copy of the License at
9-
*
10-
* http://www.apache.org/licenses/LICENSE-2.0
11-
*
12-
* Unless required by applicable law or agreed to in writing, software
13-
* distributed under the License is distributed on an "AS IS" BASIS,
14-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15-
* See the License for the specific language governing permissions and
16-
* limitations under the License.
4+
* @copyright 2017 Anthon Pang
5+
* @license Apache-2.0
176
*
187
* @package WebDriver
198
*

lib/WebDriver/AppCacheStatus.php

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,8 @@
11
<?php
22

33
/**
4-
* Copyright 2012-2022 Anthon Pang. All Rights Reserved.
5-
*
6-
* Licensed under the Apache License, Version 2.0 (the "License");
7-
* you may not use this file except in compliance with the License.
8-
* You may obtain a copy of the License at
9-
*
10-
* http://www.apache.org/licenses/LICENSE-2.0
11-
*
12-
* Unless required by applicable law or agreed to in writing, software
13-
* distributed under the License is distributed on an "AS IS" BASIS,
14-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15-
* See the License for the specific language governing permissions and
16-
* limitations under the License.
4+
* @copyright 2012 Anthon Pang
5+
* @license Apache-2.0
176
*
187
* @package WebDriver
198
*

lib/WebDriver/ApplicationCache.php

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,8 @@
11
<?php
22

33
/**
4-
* Copyright 2012-2022 Anthon Pang. All Rights Reserved.
5-
*
6-
* Licensed under the Apache License, Version 2.0 (the "License");
7-
* you may not use this file except in compliance with the License.
8-
* You may obtain a copy of the License at
9-
*
10-
* http://www.apache.org/licenses/LICENSE-2.0
11-
*
12-
* Unless required by applicable law or agreed to in writing, software
13-
* distributed under the License is distributed on an "AS IS" BASIS,
14-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15-
* See the License for the specific language governing permissions and
16-
* limitations under the License.
4+
* @copyright 2012 Anthon Pang
5+
* @license Apache-2.0
176
*
187
* @package WebDriver
198
*

lib/WebDriver/Browser.php

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,12 @@
11
<?php
22

33
/**
4-
* Copyright 2011-2022 Fabrizio Branca. All Rights Reserved.
5-
*
6-
* Licensed under the Apache License, Version 2.0 (the "License");
7-
* you may not use this file except in compliance with the License.
8-
* You may obtain a copy of the License at
9-
*
10-
* http://www.apache.org/licenses/LICENSE-2.0
11-
*
12-
* Unless required by applicable law or agreed to in writing, software
13-
* distributed under the License is distributed on an "AS IS" BASIS,
14-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15-
* See the License for the specific language governing permissions and
16-
* limitations under the License.
4+
* @copyright 2011 Fabrizio Branca
5+
* @license Apache-2.0
176
*
187
* @package WebDriver
198
*
209
* @author Fabrizio Branca <[email protected]>
21-
* @author Anthon Pang <[email protected]>
2210
*/
2311

2412
namespace WebDriver;

lib/WebDriver/Capability.php

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,12 @@
11
<?php
22

33
/**
4-
* Copyright 2011-2022 Fabrizio Branca. All Rights Reserved.
5-
*
6-
* Licensed under the Apache License, Version 2.0 (the "License");
7-
* you may not use this file except in compliance with the License.
8-
* You may obtain a copy of the License at
9-
*
10-
* http://www.apache.org/licenses/LICENSE-2.0
11-
*
12-
* Unless required by applicable law or agreed to in writing, software
13-
* distributed under the License is distributed on an "AS IS" BASIS,
14-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15-
* See the License for the specific language governing permissions and
16-
* limitations under the License.
4+
* @copyright 2011 Fabrizio Branca
5+
* @license Apache-2.0
176
*
187
* @package WebDriver
198
*
209
* @author Fabrizio Branca <[email protected]>
21-
* @author Anthon Pang <[email protected]>
2210
*/
2311

2412
namespace WebDriver;

lib/WebDriver/Container.php

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,12 @@
11
<?php
22

33
/**
4-
* Copyright 2004-2022 Facebook. All Rights Reserved.
5-
*
6-
* Licensed under the Apache License, Version 2.0 (the "License");
7-
* you may not use this file except in compliance with the License.
8-
* You may obtain a copy of the License at
9-
*
10-
* http://www.apache.org/licenses/LICENSE-2.0
11-
*
12-
* Unless required by applicable law or agreed to in writing, software
13-
* distributed under the License is distributed on an "AS IS" BASIS,
14-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15-
* See the License for the specific language governing permissions and
16-
* limitations under the License.
4+
* @copyright 2004 Meta Platforms, Inc.
5+
* @license Apache-2.0
176
*
187
* @package WebDriver
198
*
209
* @author Justin Bishop <[email protected]>
21-
* @author Anthon Pang <[email protected]>
22-
* @author Fabrizio Branca <[email protected]>
2310
*/
2411

2512
namespace WebDriver;

lib/WebDriver/Element.php

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,12 @@
11
<?php
22

33
/**
4-
* Copyright 2004-2022 Facebook. All Rights Reserved.
5-
*
6-
* Licensed under the Apache License, Version 2.0 (the "License");
7-
* you may not use this file except in compliance with the License.
8-
* You may obtain a copy of the License at
9-
*
10-
* http://www.apache.org/licenses/LICENSE-2.0
11-
*
12-
* Unless required by applicable law or agreed to in writing, software
13-
* distributed under the License is distributed on an "AS IS" BASIS,
14-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15-
* See the License for the specific language governing permissions and
16-
* limitations under the License.
4+
* @copyright 2004 Meta Platforms, Inc.
5+
* @license Apache-2.0
176
*
187
* @package WebDriver
198
*
209
* @author Justin Bishop <[email protected]>
21-
* @author Anthon Pang <[email protected]>
22-
* @author Fabrizio Branca <[email protected]>
2310
*/
2411

2512
namespace WebDriver;

0 commit comments

Comments
 (0)