Skip to content

Commit 78aa290

Browse files
authored
AT-716: Update Inpsyde in code to Syde (license, copyright, text)
1 parent c79bb36 commit 78aa290

File tree

6 files changed

+16
-13
lines changed

6 files changed

+16
-13
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ When installed for development via Composer, the package also requires:
3838
4. [Properties](docs/Properties.md)
3939
5. [Application Flow](docs/Application-flow.md)
4040

41-
## License
41+
## Copyright and License
42+
43+
This package is [free software](https://www.gnu.org/philosophy/free-sw.en.html) distributed under the terms of the GNU General Public License version 2 or (at your option) any later version. For the full license, see [LICENSE](./LICENSE).
4244

43-
This repository is a free software, and is released under the terms of the GNU General Public License version 2 or (at your option) any later version. See [LICENSE](./LICENSE) for complete license.

docs/README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,7 @@ When installed for development, via Composer, the package also requires:
3737

3838

3939

40-
## License
41-
This repository is a free software, and is released under the terms of the GNU General Public License version 2 or (at your option) any later version. See [LICENSE](https://github.com/inpsyde/modularity/blob/master/LICENSE) for complete license.
40+
## Copyright and License
41+
42+
This package is [free software](https://www.gnu.org/philosophy/free-sw.en.html) distributed under the terms of the GNU General Public License version 2 or (at your option) any later version. For the full license, see [LICENSE](https://github.com/inpsyde/modularity/blob/HEAD/LICENSE).
43+

src/Properties/LibraryProperties.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ private static function buildNames(array $composerJsonData): array
109109
$composerName = (string) ($composerJsonData['name'] ?? '');
110110
$packageNamePieces = explode('/', $composerName, 2);
111111
$basename = implode('-', $packageNamePieces);
112-
// From "inpsyde/foo-bar-baz" to "Inpsyde Foo Bar Baz"
112+
// From "syde/foo-bar-baz" to "Syde Foo Bar Baz"
113113
$name = mb_convert_case(
114114
str_replace(['-', '_', '.'], ' ', implode(' ', $packageNamePieces)),
115115
MB_CASE_TITLE

tests/unit/Properties/LibraryPropertiesTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,8 @@ public function testForLibraryAllProperties(): void
100100
{
101101
$expectedBaseName = "properties-test";
102102
$expectedDescription = 'the description';
103-
$expectedAuthor = 'Inpsyde GmbH';
104-
$expectedAuthorUri = 'https://inpsyde.com/';
103+
$expectedAuthor = 'Syde GmbH';
104+
$expectedAuthorUri = 'https://syde.com/';
105105
$expectedDomainPath = 'languages/';
106106
$expectedName = "Properties Test";
107107
$expectedTextDomain = 'properties-test';

tests/unit/Properties/PluginPropertiesTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ class PluginPropertiesTest extends TestCase
1717
public function testBasic(): void
1818
{
1919
$expectedDescription = 'the description';
20-
$expectedAuthor = 'Inpsyde GmbH';
21-
$expectedAuthorUri = 'https://inpsyde.com/';
20+
$expectedAuthor = 'Syde GmbH';
21+
$expectedAuthorUri = 'https://syde.com/';
2222
$expectedDomainPath = 'languages/';
2323
$expectedName = "Properties Test";
2424
$expectedTextDomain = 'properties-test';
@@ -189,8 +189,8 @@ public function testCustomPluginHeaders(array $customHeaders): void
189189
$expectedBasePath = '/app/wp-content/plugins/plugin-dir/';
190190
$expectedSanitizedBaseName = 'plugin-dir';
191191

192-
$expectedAuthor = 'Inpsyde GmbH';
193-
$expectedAuthorUri = 'https://inpsyde.com/';
192+
$expectedAuthor = 'Syde GmbH';
193+
$expectedAuthorUri = 'https://syde.com/';
194194

195195
$pluginData = array_merge(
196196
[

tests/unit/Properties/ThemePropertiesTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ class ThemePropertiesTest extends TestCase
1717
public function testBasic(): void
1818
{
1919
$expectedDescription = 'the description';
20-
$expectedAuthor = 'Inpsyde GmbH';
21-
$expectedAuthorUri = 'https://inpsyde.com/';
20+
$expectedAuthor = 'Syde GmbH';
21+
$expectedAuthorUri = 'https://syde.com/';
2222
$expectedDomainPath = 'languages/';
2323
$expectedName = "Properties Test";
2424
$expectedTextDomain = 'properties-test';

0 commit comments

Comments
 (0)