<?php
-
-declare(strict_types=1);
-
-namespace Cycle\App\Entity;
-
-use Cycle\ActiveRecord\ActiveRecord;
-use Cycle\Annotated\Annotation\Column;
-use Cycle\Annotated\Annotation\Entity;
-use Cycle\App\Query\UserQuery;
-
-#[Entity(table: 'user')]
-class User extends ActiveRecord
-{
- // ...
-
- /**
- * @return UserQuery<static>
- */
- public static function query(): UserQuery
- {
- return new UserQuery(static::class);
- }
-}
-
-
-### Usage Example
-
-Fetch all user records, which are not active and are ordered by `created-at` field in descending order:
-
-```php
-active(false)
- ->orderByCreatedAt('DESC')
- ->fetchAll();
-```
-
-### Advantages of Using ActiveQuery
-
-* **Organization**: Groups common queries, enhancing code organization and separation.
-* **Reusability**: Promotes the reuse of query logic across different parts of the application.
-* **Maintainability**: Simplifies maintenance by localizing query logic within dedicated classes
-
-
-
diff --git a/docs/active-repositories/repositories.md b/docs/active-repositories/repositories.md
deleted file mode 100644
index 29000cd..0000000
--- a/docs/active-repositories/repositories.md
+++ /dev/null
@@ -1,10 +0,0 @@
-# Repositories
-
-Repositories in the Cycle ORM Active Record implementation provide a layer of abstraction between your domain/business logic and the data access layer. They encapsulate the logic for retrieving, storing, and querying entities, offering a consistent interface for working with your data.
-
-### ActiveRepository
-
-The `ActiveRepository` class is the core of the repository pattern in this Active Record implementation. It provides a set of methods to interact with your entities.
-
-
-
diff --git a/docs/general/contributing.md b/docs/general/contributing.md
deleted file mode 100644
index d91dbb3..0000000
--- a/docs/general/contributing.md
+++ /dev/null
@@ -1,330 +0,0 @@
-# Contributing
-
-We appreciate your interest in contributing. This guide will help you get started, ensuring an effective collaboration.
-
-### ๐ Introduction
-
-If you would like to contribute, please **open an issue** or a pull request. We are always looking for ways to improve the project and would love to hear your ideas.
-
-The latest changes are always in **`master`** branch, so please make your Pull Request against that branch.
-
-### ๐ฉ Development Requirements
-
-Before you begin, you will need to set up your local development environment. Here is what you'll need:
-
-* **Operating System**: macOS Monterey+, Linux, or Windows with WSL2.
-* **Docker**: Version 26.0.0 or newer. Installation guides:
- * [Docker on Ubuntu 22.04](https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-ubuntu-22-04)
- * [Docker Desktop on Mac](https://docs.docker.com/desktop/install/mac-install/)
-
-#### โ Optional Tools
-
-* **Homebrew** (macOS only)
- * Install via [brew.sh](https://brew.sh/).
-* [Pre-commit](https://pre-commit.com) โ Automates the running of git pre-commit hooks.
- * Installation: `brew install pre-commit` and `make hooks`
-* [Cz-git](https://cz-git.qbb.sh) โ Commitizen adapter, that assists in formatting git commits.
- * Installation: `brew install czg`
-
-### ๐ Quick Project Setup
-
-We use a dockerized environment. Follow these steps to start working with the project:
-
-1. **Clone this repository:**
-
- ```bash
- git clone git@github.com:cycle/active-record.git \
- && cd ./active-record
- ```
-2. **Create `.env` file:**
-
- ```bash
- make env
- ```
-3. **Install phive and composer dependencies:**
-
- ```bash
- make phive
- make install
- ```
-
-### ๐ง Using the Makefile
-
-This project uses a Makefile to streamline common development tasks. The Makefile includes utilities for managing Docker environments, installing project dependencies, running tests, and linting code.
-
-```bash
-make help
-```
-
-
visual view of make help command
| Workflow | Description |
|---|---|
apply-labels.yml | Auto labels PRs based on rules. |
coding-standards.yml | Checks yaml, md, composer, php and commit coding standards. |
create-release.yml | Creates a release on GitHub. |
dependency-analysis.yml | Checks for dependency issues. |
refactoring.yml | Runs rector/rector code check. |
security-analysis.yml | Checks for security issues. |
shellcheck.yml | Checks shell scripts. |
static-analysis.yml | Runs psalm and phpstan tools. |
testing.yml | Runs coverage, mutation and functional tests against SQLite |
testing-mysql.yml | Runs functional tests against MySQL |
testing-pgsql.yml | Runs functional tests against PostgreSQL |
testing-sqlserver.yml | Runs functional tests against SQLServer (MSSQL) |
| Prefix | Purpose |
|---|---|
feat: | Introduces a new feature |
fix: | Fixes a bug |
perf: | Improves performance |
docs: | Documentation only changes |
style: | Code style changes (formatting, missing semi-colons, etc.) |
deps: | Updates dependencies |
refactor: | Code changes that neither fixes a bug nor adds a feature |
ci: | Changes to our CI configuration files and scripts |
test: | Adding missing tests or correcting existing tests |
revert: | Reverts a previous commit |
build: | Changes that affect the build system or external dependencies |
chore: | Other changes that don't modify src or test files |
security: | A code change that fixes a security issue |
-
-
-
-
-
-
-
-
- getLastError()]]>
+