chore: add SPDX copyright and license headers#262
Conversation
Add per-file SPDX headers (Copyright Netresearch DTT GmbH, AGPL-3.0-only) to all PHP source files for OpenSSF Best Practices Gold badge compliance. Signed-off-by: Sebastian Mendel <info@sebastianmendel.de>
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #262 +/- ##
=========================================
Coverage 81.49% 81.49%
Complexity 2579 2579
=========================================
Files 172 172
Lines 7107 7107
=========================================
Hits 5792 5792
Misses 1315 1315
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Pull request overview
This PR adds per-file SPDX copyright and license headers across the PHP codebase to satisfy OpenSSF Best Practices criteria (copyright_per_file, license_per_file).
Changes:
- Added SPDX copyright/license header blocks to PHP source files under
src/,tests/,config/,migrations/, and tooling scripts. - Standardized headers to
Copyright (c) 2025-2026 Netresearch DTT GmbHandSPDX-License-Identifier: AGPL-3.0-only.
Reviewed changes
Copilot reviewed 238 out of 239 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| tests/tools/analyze-coverage.php | Adds SPDX header to test tooling script |
| tests/parallel-bootstrap.php | Adds SPDX header to PHPUnit parallel bootstrap |
| tests/bootstrap.php | Adds SPDX header to PHPUnit bootstrap |
| tests/Util/PhpSpreadsheet/LOReadFilterTest.php | Adds SPDX header to unit test |
| tests/Traits/TestDataTrait.php | Adds SPDX header to test trait |
| tests/Traits/JsonAssertionsTrait.php | Adds SPDX header to test trait |
| tests/Traits/HttpRequestTestTrait.php | Adds SPDX header to test trait |
| tests/Traits/HttpClientTrait.php | Adds SPDX header to test trait |
| tests/Traits/DatabaseTestTrait.php | Adds SPDX header to test trait |
| tests/Traits/AuthenticationTestTrait.php | Adds SPDX header to test trait |
| tests/Service/Util/TimeCalculationServiceTest.php | Adds SPDX header to service test |
| tests/Service/Util/TicketServiceTest.php | Adds SPDX header to service test |
| tests/Service/TestClock.php | Adds SPDX header to test service |
| tests/Service/SystemClockTest.php | Adds SPDX header to service test |
| tests/Service/SubticketSyncServiceTest.php | Adds SPDX header to service test |
| tests/Service/LocalizationServiceTest.php | Adds SPDX header to service test |
| tests/Service/Ldap/LdapClientServiceTest.php | Adds SPDX header to service test |
| tests/Service/ExportServiceTest.php | Adds SPDX header to service test |
| tests/Security/LdapAuthenticatorTest.php | Adds SPDX header to security test |
| tests/Response/ErrorResponseTest.php | Adds SPDX header to response test |
| tests/Repository/EntryRepositoryTest.php | Adds SPDX header to repository test |
| tests/Repository/EntryRepositoryIntegrationTest.php | Adds SPDX header to integration test |
| tests/Performance/PerformanceDashboard.php | Adds SPDX header to performance tooling |
| tests/Performance/PerformanceBenchmarkRunner.php | Adds SPDX header to performance tooling |
| tests/Performance/ExportWorkflowIntegrationTest.php | Adds SPDX header to performance test |
| tests/Performance/ExportPerformanceTest.php | Adds SPDX header to performance test |
| tests/Performance/ExportActionPerformanceTest.php | Adds SPDX header to performance test |
| tests/Model/ResponseTest.php | Adds SPDX header to model test |
| tests/Model/BaseTest.php | Adds SPDX header to model test |
| tests/Helper/TimeHelperTest.php | Adds SPDX header to helper test |
| tests/Helper/JiraOAuthApiTest.php | Adds SPDX header to integration/helper test |
| tests/Fixtures/TokenStub.php | Adds SPDX header to fixture |
| tests/Extension/TwigCsvEscapingExtensionTest.php | Adds SPDX header to extension test |
| tests/Extension/NrArrayTranslatorTest.php | Adds SPDX header to extension test |
| tests/Entity/UserTicketsystemTest.php | Adds SPDX header to entity test |
| tests/Entity/UserDatabaseTest.php | Adds SPDX header to entity test |
| tests/Entity/TicketTest.php | Adds SPDX header to entity test |
| tests/Entity/TeamDatabaseTest.php | Adds SPDX header to entity test |
| tests/Entity/ProjectTest.php | Adds SPDX header to entity test |
| tests/Entity/ProjectDatabaseTest.php | Adds SPDX header to entity test |
| tests/Entity/PresetDatabaseTest.php | Adds SPDX header to entity test |
| tests/Entity/HolidayDatabaseTest.php | Adds SPDX header to entity test |
| tests/Entity/EntryTest.php | Adds SPDX header to entity test |
| tests/Entity/CustomerDatabaseTest.php | Adds SPDX header to entity test |
| tests/Entity/ActivityTest.php | Adds SPDX header to entity test |
| tests/Entity/ActivityDatabaseTest.php | Adds SPDX header to entity test |
| tests/Entity/AccountDatabaseTest.php | Adds SPDX header to entity test |
| tests/Dto/EntrySaveDtoTest.php | Adds SPDX header to DTO test |
| tests/Controller/StatusControllerTest.php | Adds SPDX header to controller test |
| tests/Controller/SettingsControllerTest.php | Adds SPDX header to controller test |
| tests/Controller/SecurityControllerTest.php | Adds SPDX header to controller test |
| tests/Controller/InterpretationControllerTest.php | Adds SPDX header to controller test |
| tests/Controller/DefaultControllerTest.php | Adds SPDX header to controller test |
| tests/Controller/DefaultControllerSummaryTest.php | Adds SPDX header to controller test |
| tests/Controller/CrudControllerTest.php | Adds SPDX header to controller test |
| tests/Controller/CrudControllerNegativeTest.php | Adds SPDX header to controller test |
| tests/Controller/ControllingControllerTest.php | Adds SPDX header to controller test |
| tests/Controller/BasicAccessTest.php | Adds SPDX header to controller test |
| tests/Controller/AuthorizationSecurityTest.php | Adds SPDX header to controller test |
| tests/Controller/ApiSmokeTest.php | Adds SPDX header to controller test |
| tests/Controller/AdminControllerTest.php | Adds SPDX header to controller test |
| tests/Controller/AdminControllerNegativeTest.php | Adds SPDX header to controller test |
| tests/Command/TtSyncSubticketsCommandTest.php | Adds SPDX header to command test |
| tests/Basic.php | Adds SPDX header to test helper |
| tests/AbstractWebTestCase.php | Adds SPDX header to base test case |
| src/ValueObject/PaginatedEntryCollection.php | Adds SPDX header to value object |
| src/Validator/Constraints/ValidUserValidator.php | Adds SPDX header to validator |
| src/Validator/Constraints/ValidUser.php | Adds SPDX header to constraint |
| src/Validator/Constraints/UniqueUsernameValidator.php | Adds SPDX header to validator |
| src/Validator/Constraints/UniqueUsername.php | Adds SPDX header to constraint |
| src/Validator/Constraints/UniqueUserAbbrValidator.php | Adds SPDX header to validator |
| src/Validator/Constraints/UniqueUserAbbr.php | Adds SPDX header to constraint |
| src/Validator/Constraints/UniqueTicketSystemNameValidator.php | Adds SPDX header to validator |
| src/Validator/Constraints/UniqueTicketSystemName.php | Adds SPDX header to constraint |
| src/Validator/Constraints/UniqueTeamNameValidator.php | Adds SPDX header to validator |
| src/Validator/Constraints/UniqueTeamName.php | Adds SPDX header to constraint |
| src/Validator/Constraints/UniqueProjectNameForCustomerValidator.php | Adds SPDX header to validator |
| src/Validator/Constraints/UniqueProjectNameForCustomer.php | Adds SPDX header to constraint |
| src/Validator/Constraints/UniqueCustomerNameValidator.php | Adds SPDX header to validator |
| src/Validator/Constraints/UniqueCustomerName.php | Adds SPDX header to constraint |
| src/Validator/Constraints/UniqueActivityNameValidator.php | Adds SPDX header to validator |
| src/Validator/Constraints/UniqueActivityName.php | Adds SPDX header to constraint |
| src/Validator/Constraints/CustomerTeamsRequiredValidator.php | Adds SPDX header to validator |
| src/Validator/Constraints/CustomerTeamsRequired.php | Adds SPDX header to constraint |
| src/Validator/Constraints/ContractDatesValidValidator.php | Adds SPDX header to validator |
| src/Validator/Constraints/ContractDatesValid.php | Adds SPDX header to constraint |
| src/Util/RequestHelper.php | Adds SPDX header to util |
| src/Util/RequestEntityHelper.php | Adds SPDX header to util |
| src/Util/PhpSpreadsheet/LOReadFilter.php | Adds SPDX header to util |
| src/Service/Util/TimeCalculationService.php | Adds SPDX header to service |
| src/Service/Util/TicketService.php | Adds SPDX header to service |
| src/Service/Util/LocalizationService.php | Adds SPDX header to service |
| src/Service/TypeSafety/ArrayTypeHelper.php | Adds SPDX header to service |
| src/Service/SystemClock.php | Adds SPDX header to service |
| src/Service/SubticketSyncService.php | Adds SPDX header to service |
| src/Service/Security/TokenEncryptionService.php | Adds SPDX header to security service |
| src/Service/Response/ResponseFactory.php | Adds SPDX header to response service |
| src/Service/Response/PaginationLinkService.php | Adds SPDX header to response service |
| src/Service/Ldap/ModernLdapService.php | Adds SPDX header to LDAP service |
| src/Service/Ldap/LdapClientService.php | Adds SPDX header to LDAP service |
| src/Service/Integration/Jira/JiraWorkLogService.php | Adds SPDX header to Jira integration service |
| src/Service/Integration/Jira/JiraTicketService.php | Adds SPDX header to Jira integration service |
| src/Service/Integration/Jira/JiraOAuthApiService.php | Adds SPDX header to Jira integration service |
| src/Service/Integration/Jira/JiraOAuthApiFactory.php | Adds SPDX header to Jira integration service |
| src/Service/Integration/Jira/JiraIntegrationService.php | Adds SPDX header to Jira integration service |
| src/Service/Integration/Jira/JiraHttpClientService.php | Adds SPDX header to Jira integration service |
| src/Service/Integration/Jira/JiraAuthenticationService.php | Adds SPDX header to Jira integration service |
| src/Service/ExportService.php | Adds SPDX header to service |
| src/Service/Entry/EntryQueryService.php | Adds SPDX header to service |
| src/Service/ClockInterface.php | Adds SPDX header to interface |
| src/Service/Cache/QueryCacheService.php | Adds SPDX header to cache service |
| src/Security/LdapAuthenticator.php | Adds SPDX header to authenticator |
| src/Response/Error.php | Adds SPDX header to response model |
| src/Repository/UserRepository.php | Adds SPDX header to repository |
| src/Repository/TicketSystemRepository.php | Adds SPDX header to repository |
| src/Repository/TeamRepository.php | Adds SPDX header to repository |
| src/Repository/ProjectRepository.php | Adds SPDX header to repository |
| src/Repository/PresetRepository.php | Adds SPDX header to repository |
| src/Repository/OptimizedEntryRepository.php | Adds SPDX header to repository |
| src/Repository/HolidayRepository.php | Adds SPDX header to repository |
| src/Repository/EntryRepository.php | Adds SPDX header to repository |
| src/Repository/CustomerRepository.php | Adds SPDX header to repository |
| src/Repository/ContractRepository.php | Adds SPDX header to repository |
| src/Repository/ActivityRepository.php | Adds SPDX header to repository |
| src/Model/Response.php | Adds SPDX header to model |
| src/Model/JsonResponse.php | Adds SPDX header to model |
| src/Model/Base.php | Adds SPDX header to model |
| src/Kernel.php | Adds SPDX header to Symfony kernel |
| src/Extension/TwigCsvEscapingExtension.php | Adds SPDX header to Twig extension |
| src/Extension/NrArrayTranslator.php | Adds SPDX header to extension |
| src/Exception/Integration/Jira/JiraApiUnauthorizedException.php | Adds SPDX header to exception |
| src/Exception/Integration/Jira/JiraApiInvalidResourceException.php | Adds SPDX header to exception |
| src/Exception/Integration/Jira/JiraApiException.php | Adds SPDX header to exception |
| src/EventSubscriber/ExceptionSubscriber.php | Adds SPDX header to subscriber |
| src/EventSubscriber/EntryEventSubscriber.php | Adds SPDX header to subscriber |
| src/EventSubscriber/AccessDeniedSubscriber.php | Adds SPDX header to subscriber |
| src/Event/EntryEvent.php | Adds SPDX header to event |
| src/Enum/UserType.php | Adds SPDX header to enum |
| src/Enum/TicketSystemType.php | Adds SPDX header to enum |
| src/Enum/Period.php | Adds SPDX header to enum |
| src/Enum/EntryClass.php | Adds SPDX header to enum |
| src/Enum/BillingType.php | Adds SPDX header to enum |
| src/Entity/UserTicketsystem.php | Adds SPDX header to entity |
| src/Entity/User.php | Adds SPDX header to entity |
| src/Entity/TicketSystem.php | Adds SPDX header to entity |
| src/Entity/Ticket.php | Adds SPDX header to entity |
| src/Entity/Team.php | Adds SPDX header to entity |
| src/Entity/Project.php | Adds SPDX header to entity |
| src/Entity/Preset.php | Adds SPDX header to entity |
| src/Entity/Holiday.php | Adds SPDX header to entity |
| src/Entity/Entry.php | Adds SPDX header to entity |
| src/Entity/Customer.php | Adds SPDX header to entity |
| src/Entity/Contract.php | Adds SPDX header to entity |
| src/Entity/Activity.php | Adds SPDX header to entity |
| src/Entity/Account.php | Adds SPDX header to entity |
| src/Dto/UserSaveDto.php | Adds SPDX header to DTO |
| src/Dto/TicketSystemSaveDto.php | Adds SPDX header to DTO |
| src/Dto/TeamSaveDto.php | Adds SPDX header to DTO |
| src/Dto/ProjectSaveDto.php | Adds SPDX header to DTO |
| src/Dto/PresetSaveDto.php | Adds SPDX header to DTO |
| src/Dto/InterpretationFiltersDto.php | Adds SPDX header to DTO |
| src/Dto/IdDto.php | Adds SPDX header to DTO |
| src/Dto/ExportQueryDto.php | Adds SPDX header to DTO |
| src/Dto/EntrySaveDto.php | Adds SPDX header to DTO |
| src/Dto/DatabaseResultDto.php | Adds SPDX header to DTO |
| src/Dto/CustomerSaveDto.php | Adds SPDX header to DTO |
| src/Dto/ContractSaveDto.php | Adds SPDX header to DTO |
| src/Dto/BulkEntryDto.php | Adds SPDX header to DTO |
| src/Dto/AdminSyncDto.php | Adds SPDX header to DTO |
| src/Dto/ActivitySaveDto.php | Adds SPDX header to DTO |
| src/Controller/Tracking/SaveEntryAction.php | Adds SPDX header to controller action |
| src/Controller/Tracking/DeleteEntryAction.php | Adds SPDX header to controller action |
| src/Controller/Tracking/BulkEntryAction.php | Adds SPDX header to controller action |
| src/Controller/Tracking/BaseTrackingController.php | Adds SPDX header to controller |
| src/Controller/Status/CheckStatusAction.php | Adds SPDX header to controller action |
| src/Controller/Settings/SaveSettingsAction.php | Adds SPDX header to controller action |
| src/Controller/SecurityController.php | Adds SPDX header to controller |
| src/Controller/Interpretation/GroupByWorktimeAction.php | Adds SPDX header to controller action |
| src/Controller/Interpretation/GroupByUserAction.php | Adds SPDX header to controller action |
| src/Controller/Interpretation/GroupByTicketAction.php | Adds SPDX header to controller action |
| src/Controller/Interpretation/GroupByProjectAction.php | Adds SPDX header to controller action |
| src/Controller/Interpretation/GroupByCustomerAction.php | Adds SPDX header to controller action |
| src/Controller/Interpretation/GroupByActivityAction.php | Adds SPDX header to controller action |
| src/Controller/Interpretation/GetLastEntriesAction.php | Adds SPDX header to controller action |
| src/Controller/Interpretation/GetAllEntriesAction.php | Adds SPDX header to controller action |
| src/Controller/Interpretation/BaseInterpretationController.php | Adds SPDX header to controller |
| src/Controller/Default/JiraOAuthCallbackAction.php | Adds SPDX header to controller action |
| src/Controller/Default/IndexAction.php | Adds SPDX header to controller action |
| src/Controller/Default/GetUsersAction.php | Adds SPDX header to controller action |
| src/Controller/Default/GetTimeSummaryAction.php | Adds SPDX header to controller action |
| src/Controller/Default/GetTicketTimeSummaryJsAction.php | Adds SPDX header to controller action |
| src/Controller/Default/GetTicketTimeSummaryAction.php | Adds SPDX header to controller action |
| src/Controller/Default/GetSummaryAction.php | Adds SPDX header to controller action |
| src/Controller/Default/GetProjectsAction.php | Adds SPDX header to controller action |
| src/Controller/Default/GetProjectStructureAction.php | Adds SPDX header to controller action |
| src/Controller/Default/GetHolidaysAction.php | Adds SPDX header to controller action |
| src/Controller/Default/GetDataAction.php | Adds SPDX header to controller action |
| src/Controller/Default/GetCustomersAction.php | Adds SPDX header to controller action |
| src/Controller/Default/GetCustomerAction.php | Adds SPDX header to controller action |
| src/Controller/Default/GetAllProjectsAction.php | Adds SPDX header to controller action |
| src/Controller/Default/GetActivitiesAction.php | Adds SPDX header to controller action |
| src/Controller/Default/ExportCsvAction.php | Adds SPDX header to controller action |
| src/Controller/ControllingController.php | Adds SPDX header to controller |
| src/Controller/Controlling/ExportAction.php | Adds SPDX header to controller action |
| src/Controller/BaseController.php | Adds SPDX header to controller base |
| src/Controller/Admin/SyncProjectSubticketsAction.php | Adds SPDX header to admin controller action |
| src/Controller/Admin/SyncJiraEntriesAction.php | Adds SPDX header to admin controller action |
| src/Controller/Admin/SyncAllProjectSubticketsAction.php | Adds SPDX header to admin controller action |
| src/Controller/Admin/SaveUserAction.php | Adds SPDX header to admin controller action |
| src/Controller/Admin/SaveTicketSystemAction.php | Adds SPDX header to admin controller action |
| src/Controller/Admin/SaveTeamAction.php | Adds SPDX header to admin controller action |
| src/Controller/Admin/SaveProjectAction.php | Adds SPDX header to admin controller action |
| src/Controller/Admin/SavePresetAction.php | Adds SPDX header to admin controller action |
| src/Controller/Admin/SaveCustomerAction.php | Adds SPDX header to admin controller action |
| src/Controller/Admin/SaveContractAction.php | Adds SPDX header to admin controller action |
| src/Controller/Admin/SaveActivityAction.php | Adds SPDX header to admin controller action |
| src/Controller/Admin/GetUsersAction.php | Adds SPDX header to admin controller action |
| src/Controller/Admin/GetTicketSystemsAction.php | Adds SPDX header to admin controller action |
| src/Controller/Admin/GetTeamsAction.php | Adds SPDX header to admin controller action |
| src/Controller/Admin/GetPresetsAction.php | Adds SPDX header to admin controller action |
| src/Controller/Admin/GetCustomersAction.php | Adds SPDX header to admin controller action |
| src/Controller/Admin/GetContractsAction.php | Adds SPDX header to admin controller action |
| src/Controller/Admin/DeleteUserAction.php | Adds SPDX header to admin controller action |
| src/Controller/Admin/DeleteTicketSystemAction.php | Adds SPDX header to admin controller action |
| src/Controller/Admin/DeleteTeamAction.php | Adds SPDX header to admin controller action |
| src/Controller/Admin/DeleteProjectAction.php | Adds SPDX header to admin controller action |
| src/Controller/Admin/DeletePresetAction.php | Adds SPDX header to admin controller action |
| src/Controller/Admin/DeleteCustomerAction.php | Adds SPDX header to admin controller action |
| src/Controller/Admin/DeleteContractAction.php | Adds SPDX header to admin controller action |
| src/Controller/Admin/DeleteActivityAction.php | Adds SPDX header to admin controller action |
| src/Command/TtSyncSubticketsCommand.php | Adds SPDX header to console command |
| rector.php | Adds SPDX header to Rector config |
| migrations/Version20250901_EncryptTokenFields.php | Adds SPDX header to migration |
| migrations/Version20250901_AddPerformanceIndexes.php | Adds SPDX header to migration |
| config/quality/rector.php | Adds SPDX header to quality config |
| config/quality/phpat.php | Adds SPDX header to quality config |
| config/preload.php | Adds SPDX header to preload config |
| config/bundles.php | Adds SPDX header to bundles config |
| bin/test-xdebug.php | Adds SPDX header to CLI script |
Summary
Copyright (c) 2025-2026 Netresearch DTT GmbH) and license (AGPL-3.0-only) headers to all 239 PHP source filescopyright_per_file,license_per_file)Test plan